wordpresss loop through object

81

foreach ( $lessons as $lesson ){
    if( $lesson['status'] == 'completed' ){
        echo $lesson['post']->post_title;
    }
}

Comments

Submit
0 Comments